package com.takanafu.haru.code.builtins{
	import com.takanafu.haru.code.CodeBase;
	import com.takanafu.haru.code.CodeString;
	
	import mx.collections.ArrayCollection;
	
	public class LoadXML extends AbstractBuitin{
		public function LoadXML(){
			super(1);
		}
		
		override public function exec(params:ArrayCollection):CodeBase{
			var code:CodeBase = params.getItemAt(0) as CodeBase;
			var runcode:CodeBase = code.run();
			var strcode:CodeString = runcode as CodeString;
				
			trace(strcode.toString());
			
			return null;
		}
	}
}